package com.asset.manage.domain;

import java.math.BigDecimal;

import com.asset.common.annotation.Excel;
import com.asset.common.core.domain.TreeEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 组织架构对象 asset_company
 *
 * @author mobin
 * @date 2024-08-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "组织架构对象")
public class Company extends TreeEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 组织编码
     */
    @ApiModelProperty(value = "组织编码")
    @Excel(name = "组织编码")
    private String code;

    /**
     * 组织名称
     */
    @ApiModelProperty(value = "组织名称")
    @Excel(name = "组织名称")
    private String name;

    /**
     * 资产数量
     */
    @ApiModelProperty(value = "资产数量")
    @Excel(name = "资产数量")
    private String number;

    /**
     * 资产金额
     */
    @ApiModelProperty(value = "资产金额")
    @Excel(name = "资产金额")
    private BigDecimal amount;

}
